package com.kingyun.gpsinspection.purificationservice.facade.service.tdm;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EmployeeVo;
import com.kingyun.gpsinspection.purificationservice.facade.model.tdm.KeyOperationVo;

/**
 * Created by jiangjx on 2017/1/17.
 * 关键操作受控管理service接口
 */
public interface KeyOperationService {
    /**
     * 查询分页数据
     *
     * @param keyOperationVo 查询条件封装类
     * @return
     */
    JSONObject queryKeyOperationList(KeyOperationVo keyOperationVo);

    /**
     * 修改工单状态为已审批
     *
     *
     * @param employeeVo
     * @param workOrderId 工单id
     * @param state       审批状态
     * @return
     */
    Boolean updateWorkOrder(EmployeeVo employeeVo, String workOrderId, Short state) throws Exception;
}
